package com.galudisu.seed

import akka.actor.ActorSystem
import akka.cluster.Cluster
import com.typesafe.config.ConfigFactory

/**
  * @author galudisu
  */
object ClusterSeed1App extends App {

  val config = ConfigFactory.load("seed-2551")
  val system = ActorSystem("ClusterSystem",config)

  println(s"==> 启动节点: ${Cluster(system).selfRoles}")

}
